<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>find All Customers</title>
</head>
<body>
	<table border="10px">
		<tr>
			<td>ID </td>
			<td>name</td>
			<td>sex </td>
			<td>sal </td>
			<td>birth</td>
		</tr>
		<c:forEach items="${customers }" var="customer">
			<tr>
				<td>${customer.id } </td>
				<td>${customer.name } </td>
				<td>${customer.sex } </td>
				<td>${customer.sal } </td>
				<td><fmt:formatDate value="${customer.birth }" pattern="yyyy-MM-dd"/></td>
			</tr>
		</c:forEach>
	</table>
	<a href="showAddCustomerPage"> 继续添加</a>
</body>
</html>